package senpec.qc.harmony.system.operation;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import lombok.*;
import org.springframework.cache.annotation.EnableCaching;
import senpec.qc.harmony.base.mybatisplus.IBaseEntity;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor(force = true)
@AllArgsConstructor
@Entity(name = "harmony_system_operation")
@TableName("harmony_system_operation")
@EnableCaching
public class Operation extends IBaseEntity<Operation> {
    private String username;
    private String requestUri;//获取请求的资源路径
    private String scheme;//返回用以作出请求消息的方案的名称，如 http, https, 或ftp等
    private Integer serverPort;//请求的服务器端口
    private String serverName;//请求的服务器主机名
    private String remoteHost;//客户端的主机名
    private String remoteAddr;//客户端的ip
    private String method;//请求的方法
}
